package com.module.shici.constants;

public class EventBusConstants {

    public static final int REFRESH_DRAFTS = 10001;//刷新本地草稿列表

    public static final int REFRESH_COLLECTION = 10002;//刷新本地收藏列表


    /**
     * 注册成功的事件
     */
    public static int REGISTER_SUCCESS = 1001;

    /**
     * 登录成功的事件
     */
    public static int LOGIN_SUCCESS = 1002;

    /**
     * 退出登录事件
     */
    public static int LOGIN_OUT = 1003;

    /**
     * 支付成功
     */
    public static int PAY_SUCCESS = 1004;


    /**
     * 支付失败
     */
    public static int PAY_ERROR = 1005;

    /**
     * 注销账户的事件
     */
    public static int DELETE_USER = 1006;

    /**
     * 刷新用户信息
     */
    public static int UPDATE_USER_INFO = 1007;



    /**
     * token已失效，需要重新登录
     */
    public static int TOKEN_ERROR = 1007;

    /**
     * 跳转到首页
     */
    public static int JUMP_TO_HOME_PAGE = 1008;

    public static class StudyModule {
        public static int STUDY_LIST_SAVE_SUCCESS = 20001;

        public static int STUDY_LIST_DELETE_SUCCESS = 20002;

        public static int STUDY_LIST_UPDATE_SUCCESS = 20003;

        public static int STUDY_LIST_DELETE = 20004;

        public static int STUDY_LIST_UPDATE = 20005;

    }

    public static class RecordModule {
        public static int RECORD_SAVE_SUCCESS = 10001;

        public static int RECORD_UPDATE_SUCCESS = 10002;

        public static int RECORD_DELETE_SUCCESS = 10003;

        public static int RECORD_TO_WARD_SAVE_SUCCESS = 10004;

        public static int RECORD_TO_WARD_UPDATE_SUCCESS = 10005;

        public static int RECORD_TO_WARD_DELETE_SUCCESS = 10006;

        public static int RECORD_DELETE = 10007;

        public static int RECORD_UPDATE = 10008;

    }

    public static class DayNote {
        public static int CURRENT_SELECT_DAY = 30001;
        public static int DAYNOTE_UPDATE= 30002;

    }
}
